package py.com.fms.com.bean;

import java.io.Serializable;
import java.math.BigDecimal;

import py.com.fms.fms.bean.IvaBean;
import py.com.fms.fms.bean.MeasureUnitBean;
import py.com.fms.prd.bean.SuppliesBean;

public class OrderDetBean implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8516984929363453020L;
	private Long id;
	private Long idHead;
	private Long item;
	private Long supply;
	private Long measureUnit;
	private Long tax;
	private Double quantity;
	private Double basicQuantities;
	private Double receivedQuantities;
	private Double invoiceQuantities;
	private BigDecimal oldGrossCost; // costo Neto del proveedor
	private BigDecimal grossCost; // costo Neto final (por ejemplo si tuvo descuento)
	private BigDecimal discount; // Descuento que hace el proveedor
	private BigDecimal charge; //recargo
	private BigDecimal netCost; //
	private BigDecimal taxedTotal; // gravada
	private BigDecimal taxTotal; // iva
	private BigDecimal exemptTotal; //exenta
	private BigDecimal itemTotal;
	
	private MeasureUnitBean measureUnitData;
	private SuppliesBean supplyData;
	private IvaBean taxData;
	
	private Boolean selected;
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getIdHead() {
		return idHead;
	}
	public void setIdHead(Long idHead) {
		this.idHead = idHead;
	}
	public Long getItem() {
		return item;
	}
	public void setItem(Long item) {
		this.item = item;
	}
	public Long getSupply() {
		return supply;
	}
	public void setSupply(Long supply) {
		this.supply = supply;
	}
	public Long getMeasureUnit() {
		return measureUnit;
	}
	public void setMeasureUnit(Long measureUnit) {
		this.measureUnit = measureUnit;
	}
	public Long getTax() {
		return tax;
	}
	public void setTax(Long tax) {
		this.tax = tax;
	}
	
	public Double getQuantity() {
		return quantity;
	}
	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}
	public Double getBasicQuantities() {
		return basicQuantities;
	}
	public void setBasicQuantities(Double basicQuantities) {
		this.basicQuantities = basicQuantities;
	}
	public Double getReceivedQuantities() {
		return receivedQuantities;
	}
	public void setReceivedQuantities(Double receivedQuantities) {
		this.receivedQuantities = receivedQuantities;
	}
	public Double getInvoiceQuantities() {
		return invoiceQuantities;
	}
	public void setInvoiceQuantities(Double invoiceQuantities) {
		this.invoiceQuantities = invoiceQuantities;
	}
	public BigDecimal getOldGrossCost() {
		return oldGrossCost;
	}
	public void setOldGrossCost(BigDecimal oldGrossCost) {
		this.oldGrossCost = oldGrossCost;
	}
	public BigDecimal getGrossCost() {
		return grossCost;
	}
	public void setGrossCost(BigDecimal grossCost) {
		this.grossCost = grossCost;
	}
	public BigDecimal getDiscount() {
		return discount;
	}
	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}
	public BigDecimal getCharge() {
		return charge;
	}
	public void setCharge(BigDecimal charge) {
		this.charge = charge;
	}
	public BigDecimal getNetCost() {
		return netCost;
	}
	public void setNetCost(BigDecimal netCost) {
		this.netCost = netCost;
	}
	public BigDecimal getTaxedTotal() {
		return taxedTotal;
	}
	public void setTaxedTotal(BigDecimal taxedTotal) {
		this.taxedTotal = taxedTotal;
	}
	public BigDecimal getTaxTotal() {
		return taxTotal;
	}
	public void setTaxTotal(BigDecimal taxTotal) {
		this.taxTotal = taxTotal;
	}
	public BigDecimal getExemptTotal() {
		return exemptTotal;
	}
	public void setExemptTotal(BigDecimal exemptTotal) {
		this.exemptTotal = exemptTotal;
	}
	public BigDecimal getItemTotal() {
		return itemTotal;
	}
	public void setItemTotal(BigDecimal itemTotal) {
		this.itemTotal = itemTotal;
	}
	public MeasureUnitBean getMeasureUnitData() {
		return measureUnitData;
	}
	public void setMeasureUnitData(MeasureUnitBean measureUnitData) {
		this.measureUnitData = measureUnitData;
	}
	public SuppliesBean getSupplyData() {
		return supplyData;
	}
	public void setSupplyData(SuppliesBean supplyData) {
		this.supplyData = supplyData;
	}
	public IvaBean getTaxData() {
		return taxData;
	}
	public void setTaxData(IvaBean taxData) {
		this.taxData = taxData;
	}
	public void setSelected(Boolean selected) {
		this.selected = selected;
	}
	public Boolean getSelected() {
		return selected;
	}
	
	
}
